﻿<%@ Page Language="C#" Inherits="OpenRasta.Codecs.WebForms.ResourceView<LoginUiResource>" MasterPageFile="~/Views/HomeView.Master" %>

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" ID="content" runat="server">
    
    <fieldset>
        <legend>login</legend>
        <% using (scope(Xhtml.Form<AuthenticationUiResource>().Method("POST")))
           { %>
            User name: <%= Xhtml.TextBox<UserUiResource>(c => c.UserName) %>
            Password: <%= Xhtml.TextBox<UserUiResource>(c => c.Password) %>
            <input type="submit" value="Login" /> Or <a href="/register/">Register</a>
        <% } %>
        
    </fieldset>
    
</asp:Content>
